package com.turbo.cloud.ums.web.client;

import com.turbo.cloud.core.api.Result;
import com.turbo.cloud.ums.web.entity.UmsUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import reactor.core.publisher.Mono;

import java.util.List;


@FeignClient(name = "turbo-cloud-order", contextId = "OrderCilent")
public interface OrderCilent {

    @GetMapping("/webservice/user/getUserList")
    Mono<Result<List<UmsUser>>> getUserList();
}
